package com.intellagric.mapper;

import com.intellagric.pojo.AgtAgritech;
import com.intellagric.pojo.AgtAgritechExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AgtAgritechMapper {
    long countByExample(AgtAgritechExample example);

    int deleteByExample(AgtAgritechExample example);

    int deleteByPrimaryKey(String id);

    int insert(AgtAgritech record);

    int insertSelective(AgtAgritech record);

    List<AgtAgritech> selectByExample(AgtAgritechExample example);

    AgtAgritech selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AgtAgritech record, @Param("example") AgtAgritechExample example);

    int updateByExample(@Param("record") AgtAgritech record, @Param("example") AgtAgritechExample example);

    int updateByPrimaryKeySelective(AgtAgritech record);

    int updateByPrimaryKey(AgtAgritech record);
}